package com.yhsoft.sys.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.yhsoft.sys.controller.Response.MessageOutVo;
import com.yhsoft.sys.entity.Message;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 通知信息表 服务类
 * </p>
 *
 * @author yyyyyyyh
 * @since 2023-11-27
 */
public interface IMessageService extends IService<Message> {

    void addSysWorkOrderNews(Integer workOrderId, Integer distributorId);

    IPage<MessageOutVo> getList(Long pageNo, Long pageSize);

    String read(Integer id);

    String getNum();

    void addVenderWorkOrderNews(Integer workOrderId, String venderId);

    void addSalerWorkOrderNews(Integer workOrderId, Integer distributorId);
}
